package com.qingdai.mapper;

import com.qingdai.emuns.Address;
import com.qingdai.emuns.AddressDTO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

@Mapper
public interface AddressEsMapper extends ElasticsearchRepository<Address, String> {
    Address findByIdIs(Integer id);
    Address findAddressByCityIdAndPositionAndPosition(Integer CityId);
}
